package com.itlong.cloud.POJO.DTO.sdk;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      SDK添加房间DTO
 * </desc>
 * @createDate 2017/11/9
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SDKRoomInfoSaveDTO extends BaseDTO implements Serializable {

    private String projectId;
    private String buildId;
    private String unitId;
    private String roomId;
    private String buildNum;
    private String unitNum;
    private String roomNum; //房间编号,4位编码=2位楼层号编码+2位房间号编码
    private String roomName; //房间名称

    public SDKRoomInfoSaveDTO(String projectId, String roomId, String buildNum, String unitNum, String roomNum) {
        this.projectId = projectId;
        this.roomId = roomId;
        this.buildNum = buildNum;
        this.unitNum = unitNum;
        this.roomNum = roomNum;
    }
}